//package com.geeklan.smart.ui.viewmodel.mqtt;
//
//
//import androidx.lifecycle.LiveData;
//import androidx.lifecycle.MutableLiveData;
//import androidx.lifecycle.ViewModel;
//
//import com.geeklan.smart.data.remote.mqtt.MqttService;
//
//import org.eclipse.paho.client.mqttv3.MqttMessage;
//
//public class MqttViewModel extends ViewModel {
//    private MqttService mqttService;
//    private MutableLiveData<MqttMessage> messageLiveData;
//
//    public MqttViewModel() {
//        this.mqttService = MqttService.getInstance();
//        if (this.mqttService != null) {
//            this.messageLiveData = mqttService.getMessageLiveData();
//        }
//    }
//
//    public LiveData<MqttMessage> getMessageLiveData() {
//        return messageLiveData;
//    }
//}
